// IMockMethod.aidl
package com.tevintao.marketingsystem.aidl;
import com.tevintao.marketingsystem.aidl.ICallback;
// Declare any non-default types here with import statements

interface IMockMethod {

    String getPackageNameByUid(int uid);
    boolean appAccessPath(String path);

//    boolean updateHookJson(String json);
//    String getDeviceInfo(String key);
//    int getDeviceInfoInt(String key);
    String getDeviceJson();
    String getLocationJson();
    boolean clearLocation();

    boolean canUseService(String name,String className);

//    boolean updateDeviceJsonFromLocal();

    Location getLocation(in Location location);

    String getProcessName(int uid, int pid);
    boolean needMock(String packageName);

    boolean setMobileDataEnable(boolean enable);

//    String getAccountPhone();



    boolean registerSyncCallback(String key,ICallback callBack,int uid, int pid);
    boolean unregisterSyncCallback(String key,ICallback callBack);

    Bundle getSyncBundle(String key, inout Bundle bundle);
    void startCheckTask();

    boolean putStringValue(String key,String value);
    String getStringValue(String key);

    boolean putBooleanValue(String key,boolean value);
    boolean getBooleanValue(String key);
//    float getLat();
//    float getLon();
//    int getLac();
//    int getCid();
//    int getMnc();
}
